package com.hgd.security.evp.common.annotation;

import org.apache.ibatis.executor.keygen.Jdbc3KeyGenerator;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 *
 * @author wangkaige
 */
@Target({TYPE,FIELD})
@Retention(RUNTIME)
public @interface HgdKeyGenerator {

    Class<?> keyGenerator() default Jdbc3KeyGenerator.class;

    String method() default "";
}
